/**
*@Author: 周贞荣
*@Date 2021/8/26 20:35
*@Description 组件名称首字母大写
*@File MainHeader.vue 文件名称
*@Modify 最近修改人
*/
<template>
    <div class="header fixed top left w100">
        <div class="mainBtn fixed">
            <i class="el-icon-minus font20 cursor marginR10" @click.stop="ipc.send('minWin')"></i>
            <i class="el-icon-close font20 cursor" @click.stop="ipc.send('close')"></i>
        </div>
        <div class="drag"></div>
        <div class="flex-full"></div>
    </div>
</template>

<script>
    export default {
        name: "MainHeader",
        data() {
            return {}
        },
        methods: {},
        /**
         * 组件加载渲染完成执行回调方法
         */
        mounted() {

        }
    }
</script>

<style scoped lang="scss">
    /*
*当前组件样式编写域
*/
    .drag {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 13px;
        cursor: pointer;
    }

    .mainBtn {
        top: 10px;
        right: 10px;
        z-index: 10;
    }

    .header {
        height: 30px;
    }
</style>
